import { createRequest } from '@/request'


export const cloneFindById = data => {
  return createRequest({
    url: `/login/captcha`,
    responseType: 'arraybuffer',
    method: 'get'
  })
}

export const teacherAssistantPage = data => {
  return createRequest({
    url: `/teacher/assistant/page`,
    method: 'get',
    params: data
  })
}


// 根据id查询项目详情
export const teacherAssistantFindById = data => {
  return createRequest({
    url: `/teacher/assistant/findById/${data.id}`,
    method: 'get',
    params: data
  })
}


// 新增
export const teacherAssistantSave = data => {
  return createRequest({
    url: `/teacher/assistant/save`,
    method: 'post',
		data
  })
}


// 删除
export const teacherAssistantDelete = data => {
  return createRequest({
    url: `/teacher/assistant/delete`,
    method: 'delete',
		data
  })
}
